package com.aretias.jkholdings.repository;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.stereotype.Repository;

import com.aretias.jkholdings.model.User;

@Repository
public class UserRepositoryImpl implements UserRepository {

private static final String NAMESPACE = "aretias.jkholding.user.";
	
	@Autowired
	private SqlMapClientTemplate client;
	
	@Override
	public User selectUser(User param){
		return (User) client.queryForObject(NAMESPACE + "selectUser", param);
	}
}